package start;

import info.CardConfigInfo;
import info.FairyInfo;
import info.FloorInfo;
import info.NoNameInfo;
import info.UserCardsInfo;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;

public class Info
{
  public static String LoginId = "";
  public static String LoginPw = "";
  public static String LoginServer = "";
  public static int sleepTime = 0;
  public static String isPVP = "";
  public static String isRun = "";
  public static String dayFirst = "";
  public static int whatMap = 0;
  public static String isBattlePrivateFariy = "";
  public static int waitTime = 5;
  public static int stopRunWhenBcMore = 0;
  public static String autoPoint = "bc";

  public static int whenBcMoreThan = 0;
  public static String pvpCard = "";
  public static String pvpLr = "";
  public static int pvpCost = 0;
  public static String battleCard = "";
  public static String battleLr = "";
  public static int battleCost = 0;
  public static String wolf = "";
  public static String wolfLr = "";

  public String cookie = "";
  public String userId = "";
  public String userName = "";
  public String userLv = "";
  public int apMax = 0;
  public int apCurrent = 0;
  public int bcMax = 0;
  public int bcCurrent = 0;
  public int freeApBcPoint = 0;

  public String floorId = "";
  public int floorCost = 0;
  public String event_type = "";
  public int progress = 0;
  public int lvup = 0;
  public int getExp = 0;
  public int runGold = 0;
  public String nextFloorId = "";
  public int nextFloorCost = 0;
  public int areaClear = 0;

  public String battleResult = "";
  public int gold = 0;

  public int nextExp = 600;
  public int exp = 0;
  public boolean isLvUp = false;
  public Stack<EventType> events;
  public List<NoNameInfo> noNameList;
  public List<FairyInfo> fairyInfos;
  public List<FairyInfo> canBattleFairyInfos;
  public List<FloorInfo> floorInfos;
  public List<UserCardsInfo> userCardsInfos;
  public static List<CardConfigInfo> cardConfigInfos = new ArrayList();

  public Info() {
    this.noNameList = new ArrayList();
    this.fairyInfos = new ArrayList();
    this.userCardsInfos = new ArrayList();
    this.canBattleFairyInfos = new ArrayList();
    this.floorInfos = new ArrayList();
    this.events = new Stack();
    this.events.push(EventType.notLoggedIn);
  }

  public static enum EventType
  {
    notLoggedIn, 
    cookieOutOfDate, 
    needFloorInfo, 
    innerMapJump, 
    areaComplete, 
    fairyAppear, 
    fairyTransform, 
    fairyReward, 
    fairyCanBattle, 
    fairyBattleWin, 
    fairyBattleLose, 
    fairyBattleEnd, 
    cardFull, 
    privateFairyAppear, 
    guildTopRetry, 
    guildBattle, 
    guildTop, 
    ticketFull, 
    getFairyReward, 
    needAPBCInfo, 
    levelUp, 
    pvp, 
    getNoNameList, 
    fairyHistory, 
    changeCardItems, 
    getCardItem, 
    fairyInfo;
  }
}